/*variables*/
$border-hover: #ccc;
$label: #f85252;
$border: #cccccc;
$purple: #9E83BD;
$yellow: #DC9922;
$red: #E94F43;

/*mixins*/
@mixin border-radius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    border-radius: $radius;
}
@mixin opacity($value) {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$value)";  
  filter: alpha(opacity=$value);                                          
  -moz-opacity: $value;                                                   
  -khtml-opacity: $value;                                               
  opacity: $value;                                                        
}
@mixin min-height($value) {
   min-height: $value; 
   height: auto !important; 
   height: $value;     
}

/*fonts*/


/*reset*/
* {
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;  
    padding: 0;
    margin: 0;
}

ul {
    list-style-type: none;
}

a, a:visited {
    text-decoration: none;
    color: #000;
}
h1, h2 {
    font-weight: normal;
    margin: 0;
}
h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
}

a:focus {outline:none;}
a::-moz-focus-inner {border:0;}

input[type="button"]{
   outline:none;
}
input[type="button"]::-moz-focus-inner {
   border: 0;
}
button {
   outline:none;
}
button::-moz-focus-inner {
   border: 0;
}
img {
    border:0!important;
}
/*base*/
html {

}
body {
    color: #000;
    font: 12px "Century Gothic", helvetica, arial, sans-serif;
}
/*layout*/
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1; /*For IE 6/7 only*/
}
/*HEADER MODULE*/
#wrapper {
    width: 788px;
}
#header {
    height: 35px;
    nav {
        width: 100%;
        height: 35px; 
        box-shadow: 0px 5px 5px 0px #e2e3e5;
        ul.parent {
            position: relative;
            list-style-type: none;
            
            > li {
                float: left;
                
                > a {
                    display: block;
                    padding: 0 20px;
                    line-height: 35px;
                    text-align: center;
                    text-transform: uppercase;
                    color: #000;
                    
                    &:hover {
                        color: #666;
                    }
                }
                &:hover .child {
                    display: block;
                }
            }
        }
        ul.child {
            display: none;
            position: absolute;
            top: 35px;
            width: 245px;
            background-color: #fff;
            box-shadow: 2px 2px 3px 0px #aaa;
            list-style-type: none;
            z-index: 9;
            
            > li {
                position: relative;
                width: 100%;

              > a {
                    display: block;
                    width: 100%;
                    padding-left: 12px;
                    line-height: 27px;
                    text-align: left;
                    color: #2f2f2f !important;
                    
                    &:hover {
                        color: #666;
                        background-color: #ebebeb;
                    }
                }
                
                &:hover .grand-child {
                    display: block;
                }
            }
        }
        ul.grand-child {
            display: none;
            position: absolute;
            margin-top: -28px;
            left: 245px;
            width: 245px;
            list-style-type: none;
            background-color: #fff;
            box-shadow: 3px 3px 5px 0px #aaa;
            z-index: 9;
            
            li {
                width: 100%;
                a {
                    display: block;
                    width: 100%;
                    padding-left: 12px;
                    line-height: 27px;
                    text-align: left;
                    color: #2f2f2f !important;
                    
                    &:hover {
                        color: #666;
                        background-color: #ebebeb;
                    }
                }
            }
        }
    }
}
/*HOME CONTENT MODULE*/
#product-grid {
    width: 100%;
}
li.product-item {
    float: left;
    width: 24%;
    margin-right: 1.3%;
    margin-top: 1%;

    h5 {
       line-height: 35px;
       text-align: center;
       font-size: 14px;
        font-weight: bold;
       text-transform: uppercase;
       color: #fff;
       background-color: #000;
    }
    .product-item-name {
        position: relative;
        height: 55px;
        padding: 5px 5px 0px 5px;
        text-align: center;
        background-color: #e2e3e5;
        font-size: 11px;
        line-height: 12px;
    }
    .product-gray-name {
        display: block;
        margin: auto;
        font-style: italic;
        font-size: 0.95em;
        color: #474747;
        font-style: italic;
        font-weight: normal;
        padding-top: 0px;
    }
    .product-item-image {
        padding-top: 11px;
        border: 1px solid #e2e3e5;
        border-top-style: none;

        img {
            display: inline-block;
            vertical-align: bottom;
            margin: 0 auto;
            width: 100%;    
        }
    }

    &:nth-child(4n) {
        margin-right: 0;
    }
    &:hover .product-item-image {
        border: 1px solid $border-hover;
        border-top-style: none;
    }
    &:hover .product-item-name {
        background-color: #ccc;
        border-right: 1px solid $border-hover;
        border-left: 1px solid $border-hover;
    }
}
/*FOOTER MODULE*/

/*PRODUCT CONTENT MODULE*/
#product-container {
    width: 100%;
    
    ul {
        margin-left: 15px;
        list-style-type: disc;
    }
    header {
        width: 100%;
        
        h5 {
            width: 100%;
            height: 46px;
            padding-left: 20px;
            line-height: 42px;
            font-size: 20px;
            font-weight: bold;
            text-transform: uppercase;
            color: #fff;
            background-color: #000;
            border-bottom: 4px solid #937ACC;
            
            &.purple-border {
                border-bottom: 4px solid $purple;
            }
            &.yellow-border {
                border-bottom: 4px solid $yellow;
            }
            &.red-border {
                border-bottom: 4px solid $red;
            }
        }
        h2 {
            width: 100%;
            height: 43px;
            padding-left: 20px;
            line-height: 43px;
            font-weight: bold;
            font-size: 15px;
            color: #000;
            background-color: #e2e3e5;   
        }
        #product-gray-name {
            width: 100%;
            padding-left: 20px;
            line-height: 22px;
            background-color: #f3f3f3;
            font-weight: bold;
            font-size: 12px;
            text-align: left;
            color: #808082;
        }
    }
    #product-image {
        float: left;
        width: 40%;
        
        img {
            display: block;
            width: 300px;
            height: 300px;
            margin: 0 auto;
        }
    }
    #product-info {
        float: right;
        width: 60%;
    }
    #product-quantity {
        font-size: 20px;
    }
    footer {
        width: 100%;
        height: 60px;
        color: #000;
        background-color: #e2e3e5;
    }
    #social {
        
    }
}
#related-products {
    width: 100%;
    
    h4 {
        margin: 10px 0 0px 0;
        padding-left: 10px;
        font-size: 14px;
        font-weight: bold;
        color: #000;
    }
}
/*CATEGORIES MODULE*/
#categories-nav {
    
    li {
        float: left;
        width: 32.9%;
        margin-right: 5px;
        line-height: 35px;
        text-align: center;
        background-color: #000;
        
        a {
            color: #fff;
            text-transform: uppercase;
        }
        &:last-child {
            margin-right: 0px;
        }
        &:first-child{
            border-bottom: 5px solid $purple; 
        }
        &:nth-child(2){
            border-bottom: 5px solid $yellow; 
        }
        &:last-child{
            border-bottom: 5px solid $red; 
        }
    }
}
#home-wrapper {
    padding: 26px;
    background-color: #000!important;
    ul {
        list-style-type: none;
    }
}
#front-home {
    width: 100%;
    
    img {
        width: 736px;
        height: 506px;
    }
}
#location-home {
    margin: 20px 0;
}
#categories {
    display: block;
    list-style-type: none;
    
    li.parent {
        float: left;
        display: inline-block;
        line-height: 35px;
        margin: 30px 57px 0 0;
        
        img {
            width: 207px;
            height: 483px;
        }
        > a {
            display: block;
            width: 100%;
            text-align: center;
            text-transform: uppercase;
            color: #fff;
            background-color: #000;
        }

    }
    li.parent:last-child {
        margin-right: 0px;
    }
    li.child {
        padding-left: 10px;
        
        a:hover {
            color: #666;
        }
    }
    li.grand-child {
        margin-left: 12px;
    }
}
/*CONTACTS MODULE*/
.city {
    cursor: pointer;
}
/*MODULE*/

/*MODULE*/

/*MEDIA QUERIES*/